package br.com.viaembratel.entity.prepago;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries({
  @NamedQuery(name = "StatusConsumidor.findAll", query = "select o from StatusConsumidor o")
})
@Table(name = "STATUS_CONSUMIDOR")
public class StatusConsumidor implements Serializable {
    @Column(nullable = false, length = 30)
    private String descricao;
    @Id
    @Column(name="ID_STATUS_CONSUMIDOR", nullable = false)
    private Long idStatusConsumidor;

    public StatusConsumidor() {
    }

    public StatusConsumidor(String descricao, Long idStatusConsumidor) {
        this.descricao = descricao;
        this.idStatusConsumidor = idStatusConsumidor;
    }

    public String getDescricao() {
        return descricao;
    }

    public void setDescricao(String descricao) {
        this.descricao = descricao;
    }

    public Long getIdStatusConsumidor() {
        return idStatusConsumidor;
    }

    public void setIdStatusConsumidor(Long idStatusConsumidor) {
        this.idStatusConsumidor = idStatusConsumidor;
    }
}
